package com.rose.springbootgeneratefile.api;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.Properties;

public interface ConnectionFactory {
    /**
     * 获取连接
     * @return
     * @throws SQLException
     */
    Connection getConnection() throws SQLException;

    /**
     * 加载配置
     * @param properties
     */
    void addConfigurationProperties(Properties properties);
}
